#include <dalelib/maths.h>
#include <dalelib/graphics/image.h>

namespace dalelib
{

int Image::load(const char* _Name, const bool _Keep )
{
}

v3 Image::sample( float _U, float _V )
{
/*
	_U -= floor(_U);
	_V -= floor(_V);
	v3 col(0.f);
	if( _pixel_data )
	{
		int u = int(_U*_width)%_width;
		int v = int(_V*_height)%_height;
		int index = (u + v*_width)*_bytes_per_pixel;
		float r = float(_pixel_data[index++])/255;
		float g = float(_pixel_data[index++])/255;
		float b = float(_pixel_data[index++])/255;
		col = v3(b,g,r);
	}
	return col;
*/
}

} // namespace dalelib
